﻿using System;
using System.Collections.Generic;
using System.Web;

/// <summary>
///定义格式的私有类
/// </summary>
namespace SchoolDB.Util
{
    public class CourseByTeacherInfo                             //定义GetCourseByTeacher的格式  
    {
        //private string _tid;
        private string _courseid;
        private string _coursename;
        private string _name;
        private string _id;

        //public string TID
        //{
        //    get { return _tid; }
        //    set { _tid = value; }
        //}
        public string CourseTypeID
        {
            get { return _courseid; }
            set { _courseid = value; }
        }
        public string CourseTypeName
        {
            get { return _coursename; }
            set { _coursename = value; }
        }
        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }
        public string Id
        {
            get { return _id; }
            set { _id = value; }
        }
    }

    public class CourseByStudentInfo                             //定义GetCourseByStudent的格式
    {
        //private string _sid;
        private string _tid;
        private string _tname;
        private string _name;
        private string _id;

        //public string SID
        //{
        //    get { return _sid; }
        //    set { _sid = value; }
        //}
        public string TID
        {
            get { return _tid; }
            set { _tid = value; }
        }
        
        public string TName
        {
            get { return _tname; }
            set { _tname = value; }
        }
        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }
        public string Id
        {
            get { return _id; }
            set { _id = value; }
        }
    }                          

    public class GetTeacherInfo                                  //定义GetTeacher的格式
    {
        private string _id;
        private string _name;
        private string _sex;
        private string _institute;
        private string _department;

        public string ID
        {
            get { return _id; }
            set { _id = value; }
        }
        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }
        public string Sex
        {
            get { return _sex; }
            set { _sex = value; }
        }
        public string Institute
        {
            get { return _institute; }
            set { _institute = value; }
        }
        public string Department
        {
            get { return _department; }
            set { _department = value; }
        }
    }

    public class GetStudentInfo                                  //定义GetStudent的格式
    {
        private string _id;
        private string _name;
        private string _sex;
        private string _institute;
        private string _department;
        private string _class;

        public string ID
        {
            get { return _id; }
            set { _id = value; }
        }
        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }
        public string Sex
        {
            get { return _sex; }
            set { _sex = value; }
        }
        public string Institute
        {
            get { return _institute; }
            set { _institute = value; }
        }
        public string Department
        {
            get { return _department; }
            set { _department = value; }
        }
        public string Class
        {
            get { return _class; }
            set { _class = value; }
        }
    }

    public class UserInfo                                  //定义User的格式
    {
            private string _id;
            private string _name;
            private string _sex;
            private string _institute;
            private string _department;
            private string _class;

            public string ID
            {
                get { return _id; }
                set { _id = value; }
            }
            public string Name
            {
                get { return _name; }
                set { _name = value; }
            }
            public string Sex
            {
                get { return _sex; }
                set { _sex = value; }
            }
            public string Institute
            {
                get { return _institute; }
                set { _institute = value; }
            }
            public string Department
            {
                get { return _department; }
                set { _department = value; }
            }
            public string Class
            {
                get { return _class; }
                set { _class = value; }
            }

     }

   
}
